@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


body {
    background-color: #eff1f4;
    margin: 0;
}

.header {
    background-color: #0b73fe;
    font-family: "Lato", sans-serif;
    color: #ffffff;
    padding-right: 10px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}
.header .logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.header p{
    margin-block-start: 0;
    margin-block-end: 0;
}
.header img{
    width: 50px;
    height: 50px;
    background-color: transparent;
}

.header nav{
    font-family: "Lato", sans-serif;
}

.search-box {
    background:  #0b73fe;
    padding: 40px;
    gap: 2px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
form input, form button, form select {
    padding: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
    background: white;
}
form input {
    flex-grow: 1;
    height: 1.5rem;
}
form button {
    background-color: #fa742d;
    font-family: "Lato", sans-serif;;
    color: white;
    font-weight: bold;
    font-size: larger;
    cursor: pointer;
    flex-grow: 1;
    height: 2.7rem;
}
select {
    background-color: #444;
    color: white;
}
.label {
    background: #555;
    padding: 5px 10px;
    border-radius: 5px;
}
.arrow{
    margin-right: 5px;
}

.ui-selectmenu-button.ui-button {
    width: 200px; /* Ширина выпадающего списка */
}
.ui-selectmenu-button{
    height: 1.8rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;

}
#date{
    flex-grow: 1;
    display: flex;
    justify-content: center;
}



form button:hover{
    background-color: rgba(250, 116, 45, 0.9);
}

.card {
    display: flex;
    width: 50%;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: "Lato", sans-serif;
    font-style: normal;
    margin-top: 10px;
}

.price-tag {
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    height: 100%;
}


.flight-info {
    flex-basis: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.price-tag > span, .price, .remaining {
    display: block;
    text-align: center;
    color: green;
}
.price-tag {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button {
    width: 100%;
    font-family: "Lato", sans-serif;;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: orange;
    color: white;
    cursor: pointer;
}



.duration span:first-child {
    margin-right: 10px;
}

.departure span, .arrival span{
    width: 5rem;
}

.duration {
    font-size: smaller;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: grey;
    flex-grow: 2;
}

.button:hover {
    background-color: darkorange;
}

.price-tag div{
    margin-bottom: 1rem;
    width: 10rem;
    height: 4rem;
    border-radius: 5px;
    border: 0px;
    background-color: #fa742d;
    color: white;
    font-family: "Lato", sans-serif;
    font-style: normal;
    font-size: large;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.price-tag a{
    text-decoration: none;
    color: white;
}
.price-tag div:hover{
    background-color: #f56618;
}

.price-tag p{
    margin-block-start: 0;
    font-size: 25px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.departure{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.arrival{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-left: 1rem;
}

.duration img{
    width: 25px;
    height: 25px;
    opacity: 0.5;
    margin: 1rem;
}

.center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center form{
    width: 90%;
}

.cards{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form input::placeholder{
    font-family: "Lato", sans-serif;
}

option{
    font-family: "Lato", sans-serif;;
}

